\section{fsm\+\_\+pdo\+\_\+entry.\+h File Reference}
\label{fsm__pdo__entry_8h}\index{fsm\+\_\+pdo\+\_\+entry.\+h@{fsm\+\_\+pdo\+\_\+entry.\+h}}


Ether\+C\+AT P\+DO entry configuration state machine structures.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry}
\begin{DoxyCompactList}\small\item\em P\+DO configuration state machine. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry} \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{fsm__pdo__entry_8h_ab3a4a60f1346a0bc52de9a2c83b15f2a}} 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+init} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$, \textbf{ ec\+\_\+fsm\+\_\+coe\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\label{fsm__pdo__entry_8h_a2b3b45d223f6f799a15d061bdaf85280}} 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+clear} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\label{fsm__pdo__entry_8h_a8c9968d21fff2b461715c5b2599cbce5}} 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+reading} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$, \textbf{ ec\+\_\+pdo\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Start reading a P\+DO\textquotesingle{}s entries. \end{DoxyCompactList}\item 
\mbox{\label{fsm__pdo__entry_8h_abf74384e8963df57c2e9825b38662e22}} 
void \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+start\+\_\+configuration} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$, const \textbf{ ec\+\_\+pdo\+\_\+t} $\ast$, const \textbf{ ec\+\_\+pdo\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Start P\+DO mapping state machine. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec} (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Executes the current state. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success} (const \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Get execution result. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ether\+C\+AT P\+DO entry configuration state machine structures. 



\subsection{Typedef Documentation}
\mbox{\label{fsm__pdo__entry_8h_a5ab659022f19ca69c7d54a78135890f7}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+h@{fsm\+\_\+pdo\+\_\+entry.\+h}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t}!fsm\+\_\+pdo\+\_\+entry.\+h@{fsm\+\_\+pdo\+\_\+entry.\+h}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t}
{\footnotesize\ttfamily typedef struct \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry} \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t}}

\begin{DoxySeeAlso}{See also}
\doxyref{ec\+\_\+fsm\+\_\+pdo\+\_\+entry}{p.}{structec__fsm__pdo__entry} 
\end{DoxySeeAlso}


Definition at line 48 of file fsm\+\_\+pdo\+\_\+entry.\+h.



\subsection{Function Documentation}
\mbox{\label{fsm__pdo__entry_8h_aebc3d530d3c18b07f28ac22c143b205a}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+h@{fsm\+\_\+pdo\+\_\+entry.\+h}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec}!fsm\+\_\+pdo\+\_\+entry.\+h@{fsm\+\_\+pdo\+\_\+entry.\+h}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec()}
{\footnotesize\ttfamily int ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+exec (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm,  }\item[{\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$}]{datagram }\end{DoxyParamCaption})}



Executes the current state. 

\begin{DoxyReturn}{Returns}
false, if state machine has terminated 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
{\em datagram} & Datagram to use. \\
\hline
\end{DoxyParams}


Definition at line 165 of file fsm\+\_\+pdo\+\_\+entry.\+c.

\mbox{\label{fsm__pdo__entry_8h_a67fc421f4712cd8eb86d40c73ffdd9c9}} 
\index{fsm\+\_\+pdo\+\_\+entry.\+h@{fsm\+\_\+pdo\+\_\+entry.\+h}!ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success}}
\index{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success@{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success}!fsm\+\_\+pdo\+\_\+entry.\+h@{fsm\+\_\+pdo\+\_\+entry.\+h}}
\subsubsection{ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success()}
{\footnotesize\ttfamily int ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+success (\begin{DoxyParamCaption}\item[{const \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Get execution result. 

\begin{DoxyReturn}{Returns}
true, if the state machine terminated gracefully 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & P\+DO mapping state machine. \\
\hline
\end{DoxyParams}


Definition at line 181 of file fsm\+\_\+pdo\+\_\+entry.\+c.

